<!DOCTYPE html>
<html>
<head>
	<meta charset="utf-8">
	<title>订单详情</title>
	<#include "lib/lib.html" />
</head>
<body>
<form action="" method="post" class="form form-horizontal" id="form-APP-add">
	<div class="pop_main" style="padding-left:30px;width: 95%;">
		<div class="panel panel-primary mt-20">
			<div class="panel-header">订单详情</div>
			<div class="panel-body mt-20">
				<table class="table table-border table-bordered table-hover table-bg table-sort">
					<tbody>
						<tr>
							<td style="width:100px;"><strong>上课时间：</strong></td>
							<td style="width:100px;">
								${obj.teachDate?string('yyyy-MM-dd HH:mm:ss')}
							</td>
							<td style="width:100px;"><strong>上课地点：</strong></td><td style="width:100px;">${obj.cityName}${obj.regName}${obj.courseAddr}</td>
							<td style="width:100px;"><strong>上课老师：</strong></td><td style="width:100px;">${obj.teacherName}</td>
						</tr>
						<tr>
							<td style="width:100px;"><strong>预约时间：</strong></td><td style="width:100px;">${obj.createTime?string('yyyy-MM-dd HH:mm:ss')}</td>
							<td style="width:100px;"><strong>课程名称：</strong></td><td style="width:100px;">${obj.courseName}</td>
							<td style="width:100px;"><strong>课类名称：</strong></td><td style="width:100px;">${obj.typeName}</td>
						</tr>
						<tr>
							<td style="width:100px;"><strong>预约状态：</strong></td><td style="width:100px;">
									<#if obj.status ==2> 
										<span class="label label-success radius">预约成功</span> 
									<#elseif obj.status ==1> 
										<span class="label red radius">预约失败</span>
									<#else> 
										<span class="label red radius">其他</span> 
									</#if>
							</td>
							<#if obj.memId??> 
								<td style="width:100px;"><strong>卡种：</strong></td><td style="width:100px;">${memberInfo.memberName}</td>
								<td style="width:100px;"><strong>剩余次数：</strong></td><td style="width:100px;">${count}</td>
							<#else> 
								<td style="width:100px;"><strong>订单号：</strong></td><td style="width:100px;">${payOrder.orderId}</td>
								<td style="width:100px;"><strong>订单金额：</strong></td><td style="width:100px;">${payOrder.amount/100}元</td>
							</#if>
							
						</tr>
					</tbody>
				</table>
			</div>
		</div>
		
		<div class="panel panel-primary mt-20">
			<div class="panel-header">用户信息</div>
			<div class="panel-body mt-20">
				<table class="table table-border table-bordered table-hover table-bg table-sort">
					<tbody>
						<tr>
							<td style="width:50px;"><strong>儿童姓名：</strong></td><td style="width:100px;">${obj.chirldName}</td>
							<td style="width:50px;"><strong>性别：</strong></td><td style="width:100px;">
								<#if obj.sex==1>
									男
								<#else>
									女
								</#if>
							</td>
							<td style="width:50px;"><strong>出生日期：</strong></td><td style="width:100px;">${obj.birthDate?string('yyyy-MM-dd')}</td>
						</tr>
						<tr>
							<td style="width:50px;"><strong>爸爸姓名：</strong></td><td style="width:100px;">${obj.fatName}</td>
							<td style="width:50px;"><strong>联系方式:</strong></td><td style="width:100px;">${obj.fatPhone}</td>
							<td style="width:50px;"><strong>邮箱：</strong></td><td style="width:100px;">${obj.email}</td>
						</tr>
						<tr>
							<td style="width:50px;"><strong>妈妈姓名：</strong></td><td style="width:100px;">${obj.motName}</td>
							<td style="width:50px;"><strong>联系方式:</strong></td><td style="width:100px;">${obj.motPhone}</td>
							<td style="width:50px;"><strong>地址：</strong></td><td style="width:100px;">${obj.address}</td>
						</tr>
					</tbody>
				</table>
			</div>
		</div>
	</div>
</body>
</html>